﻿namespace Koala.Pro.Models
{
    [Serializable]
    public class CommonResult
    {
        public bool Success { get; set; }

        public string ErrorMessage { get; set; }

        public string Data1 { get; set; }

        public string Data2 { get; set; }

        public string Data3 { get; set; }

        public CommonResult()
        {
        }

        public CommonResult(bool success, string error = null)
        {
            Success = success;
            ErrorMessage = error;
        }
    }
}
